<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
   assembly="Portal.Core" namespace="Portal">
	    <class name="Portal.Advertisement, Portal.Core" table="TbAdvertisement" dynamic-insert="true" dynamic-update="true">
		
	      
         <id name="Id"  column="CoAdvertisementId"  type="String" >   
           <generator class="assigned"/>
         </id>
		 
	
		<property name="Name" column="CoName"  type="String" />
			
		<property name="CreateTime" column="CoCreateTime"  type="DateTime" />
			
		<property name="IsDelete" column="CoIsDelete"  type="Boolean" />
			
		<property name="Version" column="CoVersion"  type="Int64" />
			
		<property name="IsClosed" column="CoIsClosed"  type="Boolean" />
			
		<property name="Code" column="CoCode"  type="String" />
			
		<property name="CategoryId" column="CoCategoryId"  type="String" />
			
		<property name="Url" column="CoUrl"  type="String" />
			
		<property name="Description" column="CoDescription"  type="String" />
			
		<property name="Sort" column="CoSort"  type="Int64" />
			
		<property name="Culture" column="CoCulture"  type="String" />
			
	</class>
</hibernate-mapping>
